public class Main {
    public static void main(String[] args) {
        Student student=new Student("张三",18);
        student.show();
        Undergraduate undergraduate=new Undergraduate("李四",28,"学士");
        undergraduate.show();
    }
}
